Replication files for “Is it still the economy? Economic voting in polarized politics” , Thiago M.Q. Moreira, BJPols

The files in this folder permit replication of the analyses reported by the author.

In order to replicate the main county-level analyses, use the “CountyLevel.RData” and run the codes:
01_CountyLevel_Model.R
02_CountyLevel_Simulation.R

In order to replicate the main individual-level analyses, use the “IndLevel.RData” and run the codes:
03_IndLevel_EconView.R
04_IndLevel_VoteChoice.R

The data set “ElitePolarization_Series.R” and the code “21_Figures3_S19_S20.R” plot the times series of elite polarization (Figure 3).

All the other codes replicate results in the supplementary material. “CCES_PanelData_1014.RData” is necessary to replicate analysis that uses panel data from the Cooperative Congressional Election Study (CCES) in Figure S14. “LongSeries_Data.RData” is necessary to replicate the results from Table S13.
